#ifndef _2_91_H
#define _2_91_H
#include<iostream>
#include <limits.h>
using namespace std;
typedef unsigned float_bits;

float_bits float_absval(float_bits f){
    float_bits result;
    float_bits mask = (1 << 8) - 1;
    float_bits sign = f >> 31;
    float_bits exp = f >> 23 & mask;
    float_bits frac = f      & 0x7FFFFF;

    ((exp == mask) && (frac != 0)) ? result = f
            : result = f & (((unsigned)1 << 31) - 1);

    return result;
}

#endif // _2_91_H

